// +FHDR------------------------------------------------------------
//                 Copyright (c) 2022 .
//                       ALL RIGHTS RESERVED
// -----------------------------------------------------------------
// Filename      : reg_test.sv
// Author        : 
// Created On    : 
// Last Modified : 2022-11-30 13:22 by gaojiaming
// -----------------------------------------------------------------
// Description:
//
//
// -FHDR------------------------------------------------------------

`ifndef REG_TEST_SV
`define REG_TEST_SV

class reg_test extends base_test;

	extern function new(string name = "reg_test", uvm_component parent=null);
    extern virtual task main_phase(uvm_phase phase);

	`uvm_component_utils(reg_test)
endclass: reg_test

function reg_test::new(string name = "reg_test", uvm_component parent=null);
	super.new(name, parent);
endfunction: new

task reg_test::main_phase(uvm_phase phase);
    phase.raise_objection(this);
    this.ral_model.TEST_DATA0.write(status, 24'h123456);
    #1000ns;
    phase.drop_objection(this);
endtask

`endif
